3.142 \(\int \frac{F^{c (a+b x)}}{(f+f \cos (d+e x))^2} \, dx\)

Optimal. Leaf size=169 \[ -\frac{2 e^{i (d+e x)} F^{c (a+b x)} (-b c \log (F)+i e) \text{Hypergeometric2F1}\left (2,1-\frac{i b c \log (F)}{e},2-\frac{i b c \log (F)}{e},-e^{i (d+e x)}\right )}{3 e^2 f^2}-\frac{b c \log (F) \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right ) F^{c (a+b x)}}{6 e^2 f^2}+\frac{\tan \left (\frac{d}{2}+\frac{e x}{2}\right ) \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right ) F^{c (a+b x)}}{6 e f^2} \]

[Out]

(-2*E^(I*(d + e*x))*F^(c*(a + b*x))*Hypergeometric2F1[2, 1 - (I*b*c*Log[F])/e, 2 - (I*b*c*Log[F])/e, -E^(I*(d
+ e*x))]*(I*e - b*c*Log[F]))/(3*e^2*f^2) - (b*c*F^(c*(a + b*x))*Log[F]*Sec[d/2 + (e*x)/2]^2)/(6*e^2*f^2) + (F^
(c*(a + b*x))*Sec[d/2 + (e*x)/2]^2*Tan[d/2 + (e*x)/2])/(6*e*f^2)

________________________________________________________________________________________

Rubi [A]  time = 0.0966504, antiderivative size = 169, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {4457, 4448, 4451} \[ -\frac{2 e^{i (d+e x)} F^{c (a+b x)} (-b c \log (F)+i e) \, _2F_1\left (2,1-\frac{i b c \log (F)}{e};2-\frac{i b c \log (F)}{e};-e^{i (d+e x)}\right )}{3 e^2 f^2}-\frac{b c \log (F) \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right ) F^{c (a+b x)}}{6 e^2 f^2}+\frac{\tan \left (\frac{d}{2}+\frac{e x}{2}\right ) \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right ) F^{c (a+b x)}}{6 e f^2} \]

Antiderivative was successfully verified.

[In]

Int[F^(c*(a + b*x))/(f + f*Cos[d + e*x])^2,x]

[Out]

(-2*E^(I*(d + e*x))*F^(c*(a + b*x))*Hypergeometric2F1[2, 1 - (I*b*c*Log[F])/e, 2 - (I*b*c*Log[F])/e, -E^(I*(d
+ e*x))]*(I*e - b*c*Log[F]))/(3*e^2*f^2) - (b*c*F^(c*(a + b*x))*Log[F]*Sec[d/2 + (e*x)/2]^2)/(6*e^2*f^2) + (F^
(c*(a + b*x))*Sec[d/2 + (e*x)/2]^2*Tan[d/2 + (e*x)/2])/(6*e*f^2)

Rule 4457

Int[(Cos[(d_.) + (e_.)*(x_)]*(g_.) + (f_))^(n_.)*(F_)^((c_.)*((a_.) + (b_.)*(x_))), x_Symbol] :> Dist[2^n*f^n,
 Int[F^(c*(a + b*x))*Cos[d/2 + (e*x)/2]^(2*n), x], x] /; FreeQ[{F, a, b, c, d, e, f, g}, x] && EqQ[f - g, 0] &
& ILtQ[n, 0]

Rule 4448

Int[(F_)^((c_.)*((a_.) + (b_.)*(x_)))*Sec[(d_.) + (e_.)*(x_)]^(n_), x_Symbol] :> -Simp[(b*c*Log[F]*F^(c*(a + b
*x))*Sec[d + e*x]^(n - 2))/(e^2*(n - 1)*(n - 2)), x] + (Dist[(e^2*(n - 2)^2 + b^2*c^2*Log[F]^2)/(e^2*(n - 1)*(
n - 2)), Int[F^(c*(a + b*x))*Sec[d + e*x]^(n - 2), x], x] + Simp[(F^(c*(a + b*x))*Sec[d + e*x]^(n - 1)*Sin[d +
 e*x])/(e*(n - 1)), x]) /; FreeQ[{F, a, b, c, d, e}, x] && NeQ[b^2*c^2*Log[F]^2 + e^2*(n - 2)^2, 0] && GtQ[n,
1] && NeQ[n, 2]

Rule 4451

Int[(F_)^((c_.)*((a_.) + (b_.)*(x_)))*Sec[(d_.) + (e_.)*(x_)]^(n_.), x_Symbol] :> Simp[(2^n*E^(I*n*(d + e*x))*
F^(c*(a + b*x))*Hypergeometric2F1[n, n/2 - (I*b*c*Log[F])/(2*e), 1 + n/2 - (I*b*c*Log[F])/(2*e), -E^(2*I*(d +
e*x))])/(I*e*n + b*c*Log[F]), x] /; FreeQ[{F, a, b, c, d, e}, x] && IntegerQ[n]

Rubi steps

\begin{align*} \int \frac{F^{c (a+b x)}}{(f+f \cos (d+e x))^2} \, dx &=\frac{\int F^{c (a+b x)} \sec ^4\left (\frac{d}{2}+\frac{e x}{2}\right ) \, dx}{4 f^2}\\ &=-\frac{b c F^{c (a+b x)} \log (F) \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right )}{6 e^2 f^2}+\frac{F^{c (a+b x)} \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right ) \tan \left (\frac{d}{2}+\frac{e x}{2}\right )}{6 e f^2}+\frac{\left (1+\frac{b^2 c^2 \log ^2(F)}{e^2}\right ) \int F^{c (a+b x)} \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right ) \, dx}{6 f^2}\\ &=-\frac{2 e^{i (d+e x)} F^{c (a+b x)} \, _2F_1\left (2,1-\frac{i b c \log (F)}{e};2-\frac{i b c \log (F)}{e};-e^{i (d+e x)}\right ) (i e-b c \log (F))}{3 e^2 f^2}-\frac{b c F^{c (a+b x)} \log (F) \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right )}{6 e^2 f^2}+\frac{F^{c (a+b x)} \sec ^2\left (\frac{d}{2}+\frac{e x}{2}\right ) \tan \left (\frac{d}{2}+\frac{e x}{2}\right )}{6 e f^2}\\ \end{align*}

Mathematica [A]  time = 0.392507, size = 145, normalized size = 0.86 \[ \frac{2 \cos \left (\frac{1}{2} (d+e x)\right ) F^{c (a+b x)} \left (4 e^{i (d+e x)} \cos ^3\left (\frac{1}{2} (d+e x)\right ) (b c \log (F)-i e) \text{Hypergeometric2F1}\left (2,1-\frac{i b c \log (F)}{e},2-\frac{i b c \log (F)}{e},-e^{i (d+e x)}\right )-b c \log (F) \cos \left (\frac{1}{2} (d+e x)\right )+e \sin \left (\frac{1}{2} (d+e x)\right )\right )}{3 e^2 f^2 (\cos (d+e x)+1)^2} \]

Antiderivative was successfully verified.

[In]

Integrate[F^(c*(a + b*x))/(f + f*Cos[d + e*x])^2,x]

[Out]

(2*F^(c*(a + b*x))*Cos[(d + e*x)/2]*(-(b*c*Cos[(d + e*x)/2]*Log[F]) + 4*E^(I*(d + e*x))*Cos[(d + e*x)/2]^3*Hyp
ergeometric2F1[2, 1 - (I*b*c*Log[F])/e, 2 - (I*b*c*Log[F])/e, -E^(I*(d + e*x))]*((-I)*e + b*c*Log[F]) + e*Sin[
(d + e*x)/2]))/(3*e^2*f^2*(1 + Cos[d + e*x])^2)

________________________________________________________________________________________

Maple [F]  time = 0.114, size = 0, normalized size = 0. \begin{align*} \int{\frac{{F}^{c \left ( bx+a \right ) }}{ \left ( f+f\cos \left ( ex+d \right ) \right ) ^{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(F^(c*(b*x+a))/(f+f*cos(e*x+d))^2,x)

[Out]

int(F^(c*(b*x+a))/(f+f*cos(e*x+d))^2,x)

________________________________________________________________________________________

Maxima [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))/(f+f*cos(e*x+d))^2,x, algorithm="maxima")

[Out]

Timed out

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{F^{b c x + a c}}{f^{2} \cos \left (e x + d\right )^{2} + 2 \, f^{2} \cos \left (e x + d\right ) + f^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))/(f+f*cos(e*x+d))^2,x, algorithm="fricas")

[Out]

integral(F^(b*c*x + a*c)/(f^2*cos(e*x + d)^2 + 2*f^2*cos(e*x + d) + f^2), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{F^{a c} F^{b c x}}{\cos ^{2}{\left (d + e x \right )} + 2 \cos{\left (d + e x \right )} + 1}\, dx}{f^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F**(c*(b*x+a))/(f+f*cos(e*x+d))**2,x)

[Out]

Integral(F**(a*c)*F**(b*c*x)/(cos(d + e*x)**2 + 2*cos(d + e*x) + 1), x)/f**2

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{F^{{\left (b x + a\right )} c}}{{\left (f \cos \left (e x + d\right ) + f\right )}^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(F^(c*(b*x+a))/(f+f*cos(e*x+d))^2,x, algorithm="giac")

[Out]

integrate(F^((b*x + a)*c)/(f*cos(e*x + d) + f)^2, x)